package graph

type Node struct {
	Val      interface{}
	In       int
	Out      int
	OutEdges []*Edge
	NextS    []*Node
}

type Edge struct {
	Weight int
	From   *Node
	To     *Node
}

type Graph struct {
	nodes map[interface{}]*Node
	edges map[*Edge]bool
}
